export const useTableConfig = () => {
  return {
    propList: [
      { prop: 'name', label: '角色名', 'min-width': '100', slotName: 'name' },
      { prop: 'intro', label: '权限介绍', 'min-width': '100', slotName: 'intro' },
      { prop: 'createAt', label: '创建时间', 'min-width': '140', slotName: 'createAt' },
      { prop: 'updateAt', label: '更新时间', 'min-width': '140', slotName: 'updateAt' },
      { prop: 'operate', label: '', 'min-width': '140', slotName: 'operate' }
    ],
    showSelectColumn: true,
    showIndexColumn: true,
    title: '角色列表',
    handleName: '新建角色'
  }
}
